package com.zj.healthmanage.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.zj.healthmanage.mapper.PsychologicalassessmentresultMapper;
import com.zj.healthmanage.pojo.Psychologicalassessmentresult;
import com.zj.healthmanage.service.PsychologicalassessmentresultService;
@Service
public class PsychologicalassessmentresultServiceImpl implements PsychologicalassessmentresultService{

    @Resource
    private PsychologicalassessmentresultMapper psychologicalassessmentresultMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return psychologicalassessmentresultMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(Psychologicalassessmentresult record) {
        return psychologicalassessmentresultMapper.insert(record);
    }

    @Override
    public int insertSelective(Psychologicalassessmentresult record) {
        return psychologicalassessmentresultMapper.insertSelective(record);
    }

    @Override
    public Psychologicalassessmentresult selectByPrimaryKey(Integer id) {
        return psychologicalassessmentresultMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(Psychologicalassessmentresult record) {
        return psychologicalassessmentresultMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Psychologicalassessmentresult record) {
        return psychologicalassessmentresultMapper.updateByPrimaryKey(record);
    }

}
